﻿using System;
using System.Diagnostics.CodeAnalysis;
using System.Reflection;
using System.Security.Permissions;

[assembly: AssemblyDefaultAlias("AltNetUK.Website.dll")]
[assembly: AssemblyTitle("AltNetUK.Website.dll")]

#if (DEBUG)
[assembly: AssemblyDescription("Alt.Net UK : Website Library (Debug)")]
#else
[assembly: AssemblyDescription("Alt.Net UK : Website Library (Release)")]
#endif

#region CLS
[assembly: CLSCompliant(false)] // Blame ASP.NET MVC
#endregion

#region Security
[assembly: PermissionSetAttribute(SecurityAction.RequestMinimum, Name = "Nothing")]
[assembly: EnvironmentPermission(SecurityAction.RequestRefuse)]
[assembly: FileDialogPermission(SecurityAction.RequestRefuse)]
[assembly: FileIOPermission(SecurityAction.RequestRefuse)]
[assembly: IsolatedStorageFilePermission(SecurityAction.RequestRefuse)]
[assembly: PublisherIdentityPermission(SecurityAction.RequestRefuse)]
[assembly: ReflectionPermission(SecurityAction.RequestRefuse)]
[assembly: RegistryPermission(SecurityAction.RequestRefuse)]
[assembly: SecurityPermission(SecurityAction.RequestRefuse, UnmanagedCode = false)]
[assembly: SiteIdentityPermission(SecurityAction.RequestRefuse)]
[assembly: UIPermission(SecurityAction.RequestRefuse)]
[assembly: ZoneIdentityPermission(SecurityAction.RequestRefuse)]
#endregion

#region Analysis
[assembly: SuppressMessage("Microsoft.Portability", "CA1903:UseOnlyApiFromTargetedFramework", MessageId = "System.Web.Abstractions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35")]
[assembly: SuppressMessage("Microsoft.Portability", "CA1903:UseOnlyApiFromTargetedFramework", MessageId = "System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35")]
[assembly: SuppressMessage("Microsoft.Design", "CA2210:AssembliesShouldHaveValidStrongNames", Justification = "Azure doesn't like strongly named assemblies.")]
#endregion